package cc.yaomm.common.basic.sms;

import cc.yaomm.common.basic.base.SuperSmsTemplate;
import cc.yaomm.common.basic.sms.properties.HuaweiSmsProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by XQL on 2020/5/14.
 */
@Slf4j
public class HuaweiSmsService implements SmsService {

    @Autowired
    HuaweiSmsProperties huaweiSmsProperties;

    @Override
    public boolean send(String phoneNum, Map<String, Object> params, SuperSmsTemplate template) {
        log.info("华为云发送短信-参数配置：{}", huaweiSmsProperties.toString());
        return false;
    }
}
